﻿CREATE PROCEDURE [acms].[UserSecurity_CreateLoginKey]
	@Key uniqueidentifier,
	@UserId int,
	@LoggedIn DateTime,
	@Perminant bit
AS

insert into UserLoginKeys
	([Key], UserId, LoggedIn, LastAccessed, Perminant)
values
	(@Key, @UserId, @LoggedIn, @LoggedIn, @Perminant)
	
RETURN 0;